#include <stdio.h>
#include <math.h>
int main()
{
    int x, y, z, j = 0;
    printf(" following are possible plans to buy 100 fowls with 100 yuan.\n");
    for (x = 0; x <= 20; x++)
        for (y = 0; y <= 33; y++)
        {
            z = 100 - x - y;
            if (z % 3 == 0 && 5 * x + 3 * y + z / 3 == 100)
                printf("%2d:coke =%2d hen=%2d chicken=%2d\n", ++j, x, y, z);
        }
}